<template>
  <div class="demo">
    <h1>学校介绍</h1>
    <h2>学校名称:{{name}}</h2>
    <h2>学校地址:{{address}}</h2>
  </div>
</template>

<script>
export default {
  name: "School",
  data(){
    return{
      name:'武威职业学院',
      address:'武威市凉州区皇台路102号'
    }
  }
}
</script>

<style scoped>
  .demo{
    width: 800px;
    background-color:lawngreen;
    text-align: center;
    margin: 10px auto;
  }
</style>